<?php
require_once('../../classes/Student.php');
$student = new Student;

$student->updateStudent($_POST['id'],$_POST['fname'],$_POST['lname'],$_POST['mi'],$_POST['gender']);

header('location:../../index.php?action=student');

?>